package cn.itcast.zt.example.threadLocal;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "threadLocal")
public class ThreadLocalController {
    @RequestMapping("test")
    public Long test() {
        return RequestHolder.get();
    }
}
